package job_004;

import java.util.Scanner;

public class one {
	public static void main(String[] args) {
		Scanner myScanner=new Scanner(System.in);
		System.out.println("give grade");
		int grade=myScanner.nextInt();
		int grade1;
		if (grade<=100&&grade>=0) {
		grade1=(int)(grade/10);
		switch(grade1){
			case 6:System.out.println("C");break;
			case 7:System.out.println("C");break;
			case 8:System.out.println("B");break;
			case 9:System.out.println("A");break;
			case 10:System.out.println("A");break;
			default:System.out.println("D");
		}
		}else {System.out.println("no grade");
		}
	
	}
}
